﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Spanner.API
{
    public partial class UI
    {
        /// <summary>
        /// Construct a context for writing web pages.
        /// </summary>
        /// <param name="outputPath">The directory where output will be written in html, css, js, and media subdirectories.</param>
        /// <param name="singleFile">[Default true.]  If true, all HTML and JavaScript will be written to a single .html file.  Otherwise, generated HTML and JavaScript will be split into separate files.</param>
        /// <returns></returns>
        public static Context Context(string outputPath, bool singleFile = true)
        {
            return new Context(outputPath, singleFile);
        }
    }
}
